#if !defined(AFX_REDIR_H__4FB57DC3_29A3_11D5_BB60_006097553C52__INCLUDED_)
#define AFX_REDIR_H__4FB57DC3_29A3_11D5_BB60_006097553C52__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CProcessLaunch
{
public:
	CProcessLaunch();
	virtual ~CProcessLaunch();

protected:
	HANDLE m_hProcess;

public:
	BOOL Exec(LPCTSTR pszCmdLine);
	void Join(DWORD dwWaitTime = 5000);
};

#endif // !defined(AFX_REDIR_H__4FB57DC3_29A3_11D5_BB60_006097553C52__INCLUDED_)
